package com.wxg.config;

import com.jfinal.config.Constants;
import com.jfinal.config.Handlers;
import com.jfinal.config.Interceptors;
import com.jfinal.config.JFinalConfig;
import com.jfinal.config.Plugins;
import com.jfinal.config.Routes;
import com.wxg.audio.AudioController;
import com.wxg.controller.IndexController;
import com.wxg.controller.TestController;
import com.wxg.his.HisController;
import com.wxg.prism.PrismController;
import com.wxg.tools.md5.Md5Controller;
import com.wxg.tools.md5.ToolsController;

public class DemoConfig extends JFinalConfig{

	@Override
	public void configConstant(Constants me) {
		me.setDevMode(true);
		//me.setViewType(ViewType.JSP);
	}

	@Override
	public void configRoute(Routes me) {
		me.add("/", IndexController.class);
		me.add("/his", HisController.class);
		me.add("/tools/md5", Md5Controller.class);
		me.add("/tools", ToolsController.class);
		me.add("/audio", AudioController.class);
		me.add("/test", TestController.class);
		me.add("/prism", PrismController.class);
	}

	@Override
	public void configPlugin(Plugins me) {
	}

	@Override
	public void configInterceptor(Interceptors me) {
	}

	@Override
	public void configHandler(Handlers me) {
	}

}
